package sg.edu.nus.iss.team8s.vmcs.gui;

import java.awt.Frame;
import java.awt.Panel;

import sg.edu.nus.iss.team8s.vmcs.commons.CommonUtility;

/**
 * 
 * @author Zheng Xiaofeng
 *
 */

public class MaintenancePanel extends Frame{

	private static final long serialVersionUID = 1L;
	private static final String TITLE = "VMCS - Maintainer Panel";
	private sg.edu.nus.iss.team8s.vmcs.builder.MaintenancePanel contentPane = null;
	
	public sg.edu.nus.iss.team8s.vmcs.builder.MaintenancePanel getContentPane() {
		return contentPane;
	}

	public void setContentPane(Panel contentPane) {
		this.contentPane = (sg.edu.nus.iss.team8s.vmcs.builder.MaintenancePanel)contentPane;
	}

	/**
	 * This is the default constructor
	 */
	public MaintenancePanel() {
		super(TITLE);
		initialize();
		CommonUtility.alignScreenCenter(this);
	}

	/**
	 * This method initializes this
	 * 
	 * @return void
	 */
	private void initialize() {
		this.setSize(360, 740);
	}
	
	public void display(){
		this.setVisible(true);
	}

}
